import Actions from './actions';
export interface IMainReducer {
  isReady: boolean;
  isLoading?: boolean;
  gameLotteries: Array<any>;
  response: {
    [name: string]: any;
  };
  status: {
    [name: string]: any;
  };
  userInfo: any;
  codeMessage: string;
}

export type ActionType = ReturnType<typeof Actions>;
export type IAllReducerProps = {
  main: IMainReducer;
  [name: string]: any;
};

export type IProps = IAllReducerProps & ActionType;

interface operateOption {
  label: string;
  func: string;
  className: string;
}

interface atModalPropType {
  closeOnClickOverlay: boolean;
}

//自定义
export type IInfoProps = {};
export type IInfoState = {
  OPERATES?: Array<operateOption>;
  atModal?: atModalPropType;
  pics?: any;
  badge?: any;
};
